package transactionimplementation

import(
	AbstractTransactions "SoftwareEngineering/AbstractTransactions"
	Model "SoftwareEngineering/Model"
	ModelImplementation "SoftwareEngineering/ModelImplementation"
)

type ChangeDirectTransaction struct {
	AbstractTransactions.ChangeMethodTransaction
	itsBank string
	itsAccount string
}

func (c *ChangeDirectTransaction) GetMethod() Model.PaymentMethod{
	return ModelImplementation.DirectMethod(c.itsBank, c.itsAccount)
}